import request from '@/utils/request'

export function splmbl(params) {
  return request({
    url: '/admin/category/list',
    method: 'get',
    params
  })
}
export function splmlm(params) {
  return request({
    url: '/admin/category/l1',
    method: 'get',
    params
  })
}
export function splmtj(data) {
    return request({
      url: '/admin/category/create',
      method: 'post',
      data
    })
  }
  export function splmsc(data) {
    return request({
      url: '/admin/category/delete',
      method: 'post',
      data
    })
  }
  export function splmbj(data) {
    return request({
      url: '/admin/category/update',
      method: 'post',
      data
    })
}
